# -*- encoding: utf-8 -*-
'''
@File    :   1.12.py
@Time    :   2022/10/25 19:55:38
@Author  :   Cms 
@Version :   1.0
@Contact :   2267000140@qq.com
@WebSite    :   www.baidu.com
'''

# here put the import lib

# 在列表解析式中添加if判断语句
L = ['Hello', 'World', 18, 'Apple', None]
subL = [s.lower() for s in L if isinstance(s, str)]
print(subL)
